import { defineStore } from 'pinia'

interface UserState {
  currentPage: string
}

export const useUserStore = defineStore('user', {
  state: (): UserState => ({
    currentPage: '/'
  }),
  actions: {
    setCurrentPage(path: string) {
      this.currentPage = path
    }
  },
  getters: {
  }
})
